package com.scheduling.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.scheduling.common.annotation.Excel;
import com.scheduling.common.core.domain.BaseEntity;

/**
 * 排班状态对象 schedulingstatus
 * 
 * @author mj
 * @date 2025-05-07
 */
public class Schedulingstatus extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 班表ID */
    @Excel(name = "班表ID")
    private Long shiftScheduleId;

    /** 排班状态 */
    @Excel(name = "排班状态")
    private String status;

    /** 状态描述 */
    @Excel(name = "状态描述")
    private String statusDescription;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setShiftScheduleId(Long shiftScheduleId) 
    {
        this.shiftScheduleId = shiftScheduleId;
    }

    public Long getShiftScheduleId() 
    {
        return shiftScheduleId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setStatusDescription(String statusDescription) 
    {
        this.statusDescription = statusDescription;
    }

    public String getStatusDescription() 
    {
        return statusDescription;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shiftScheduleId", getShiftScheduleId())
            .append("status", getStatus())
            .append("statusDescription", getStatusDescription())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
